using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
using AppEventUtils;
using AppSoldierState;


public class SoldierController: MonoBehaviour
{
    // public SoldierParams parameter;
    public CardParameter parameter;

    void Start()
    {
    }
    
    void Update()
    {
    }

    public void show_info_ui()
    {
        // 鼠标移动, 或者长按时, 显示信息界面
        
    }
    
    public void attack(GameObject target)
    {
        var damageInfo = new DamageInfo();
        damageInfo.damage = parameter.card_data.attack;
        damageInfo.target = target;
        damageInfo.creator = gameObject;
        
        TestDamageManager.instance.SubmitDamage(damageInfo);
    }

    public void create()
    {
        
    }

    public void set_position()
    {
        
    }
}
